package com.yc.cloud.admin.vo.dashboard;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Builder;

@Data
@Builder
@Schema(description = "关键数据统计")
public class KeyMetricsVO {

    @Schema(description = "设备总数")
    private Long totalDevices;

    @Schema(description = "在线设备数")
    private Long onlineDevices;

    @Schema(description = "在线率(%)")
    private Double onlineRate;

    @Schema(description = "今日告警数")
    private Long todayAlarms;

    @Schema(description = "待处理告警数")
    private Long pendingAlarms;

    @Schema(description = "已处理告警数")
    private Long processedAlarms;
}